package com.lgy.service;

import com.lgy.beans.ProductCategory;
import com.lgy.exception.SellException;

import java.util.List;

public interface ProductCategoryService {
    ProductCategory findOne(Integer categoryId) throws SellException;

    List<ProductCategory> findAll() throws SellException;

    List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList) throws SellException;

    ProductCategory save(ProductCategory productCategory) throws SellException;
}
